package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 月销业绩实体
 * 表名 team_sale
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Oct 27 14:59:16 CST 2021
 */
@Setter
@Getter
public class TeamSaleEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //业绩
    private BigDecimal price;
    //相关订单
    private String orderNo;
    //时间
    private Date time;
    //起止时间
    Date[] times;
    //用户ID
    private Long userId;
    //上级ID
    private Long pid;

    public TeamSaleEntity(){

    }

    public TeamSaleEntity(BigDecimal price, String orderNo, Date time, Long userId, Long pid) {
        this.price = price;
        this.orderNo = orderNo;
        this.time = time;
        this.userId = userId;
        this.pid = pid;
    }
}
